<?php

namespace App\Models\Member;

use App\Models\BaseModel;

class TeamAward extends BaseModel
{
    protected $fillable = [
        'id', 'store_id', 'min_level', 'division_num',
        'radio_inner', 'radio_outer', 'rela_num', 'n_inner',
        'created_at', 'updated_at'
    ];
    // 通过店铺ID 获取 团队奖信息
    public function storeTeamAward($storeId)
    {
        return $this->where('store_id', $storeId)
        ->first();
    }
}
